<!DOCTYPE html>
<html>
	<head>
		<meta  charset="UTF-8">
		<title>14</title>
	</head>
	<!--百度统计-->
	<script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?04e828ac441acffeb4a6bc5698f79d55";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
	<body>
		<script>
			function 有效(值,位){
			return 值.toFixed(位);
			}
			alert(有效(3.666666666,3));
		</script>
	</body>
</html>
